package com.mes.entity.yzl;


public class Detail{
    private long id;
    private String detailName;//物料名称  not null
    private String detailPackSpec;//包装规格排序  not null
    private String detailUnit;//单位
    private String detailColor;//颜色
    private String detailType;//类型
    private String detailSpec;//物料型号
    private String detailMsSpec;//MES SPEC
    private float detailSprice;//价格
    private long detailSupplier;//供应商  not null
    private long detailSafeQ;//安全库存

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getDetailName() {
        return detailName;
    }

    public void setDetailName(String detailName) {
        this.detailName = detailName;
    }

    public String getDetailPackSpec() {
        return detailPackSpec;
    }

    public void setDetailPackSpec(String detailPackSpec) {
        this.detailPackSpec = detailPackSpec;
    }

    public String getDetailUnit() {
        return detailUnit;
    }

    public void setDetailUnit(String detailUnit) {
        this.detailUnit = detailUnit;
    }

    public String getDetailColor() {
        return detailColor;
    }

    public void setDetailColor(String detailColor) {
        this.detailColor = detailColor;
    }

    public String getDetailType() {
        return detailType;
    }

    public void setDetailType(String detailType) {
        this.detailType = detailType;
    }

    public String getDetailMsSpec() {
        return detailMsSpec;
    }

    public void setDetailMsSpec(String detailMsSpec) {
        this.detailMsSpec = detailMsSpec;
    }

    public float getDetailSprice() {
        return detailSprice;
    }

    public void setDetailSprice(float detailSprice) {
        this.detailSprice = detailSprice;
    }

    public long getDetailSupplier() {
        return detailSupplier;
    }

    public void setDetailSupplier(long detailSupplier) {
        this.detailSupplier = detailSupplier;
    }

    public long getDetailSafeQ() {
        return detailSafeQ;
    }

    public void setDetailSafeQ(long detailSafeQ) {
        this.detailSafeQ = detailSafeQ;
    }

    public String getDetailSpec() {
        return detailSpec;
    }

    public void setDetailSpec(String detailSpec) {
        this.detailSpec = detailSpec;
    }


    @Override
    public String toString() {
        return "Detail{" +
                "id=" + id +
                ", detailName='" + detailName + '\'' +
                ", detailPackSpec='" + detailPackSpec + '\'' +
                ", detailUnit='" + detailUnit + '\'' +
                ", detailColor='" + detailColor + '\'' +
                ", detailType='" + detailType + '\'' +
                ", detailSpec='" + detailSpec + '\'' +
                ", detailMsSpec='" + detailMsSpec + '\'' +
                ", detailSprice=" + detailSprice +
                ", detailSupplier=" + detailSupplier +
                ", detailSafeQ=" + detailSafeQ +
                '}';
    }
}
